<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width" />
	
	<link href="<?php echo Yii::app()->theme->baseUrl ?>/img/favicon.png" rel="icon" type="image/x-icon" />
	<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl ?>/lib/bootstrap/css/bootstrap.min.css" />
	<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl ?>/css/styles.css" />

	<?php Yii::app()->getClientScript()->registerCoreScript('jquery') ?>
	<script src="<?php echo Yii::app()->theme->baseUrl ?>/lib/modernizr-2.6.2.min.js"></script>
</head>
<body>
	<div class="header">
	<div class="container">
		<div class="intro">
			<h1><?php echo CHtml::encode(Yii::app()->name); ?></h1>
			<h2>- Site description -</h2>
		</div>
		<div class="navbar">
			<div class="navbar-inner">
				<ul class="nav">
					<li><a href="<?php echo $this->createUrl('index') ?>">Home</a></li>
					<li><a href="<?php echo $this->createUrl('about') ?>">About Me</a></li>
					<li><a href="<?php echo $this->createUrl('contact') ?>">Contact</a></li>
				</ul>
				<?php $this->renderBlock('search') ?>
			</div>
		</div>
	</div>
	</div><!-- header -->
	
	<?php echo $content; ?>

	<script src="<?php echo Yii::app()->theme->baseUrl ?>/lib/bootstrap/js/bootstrap.min.js"></script>
	<script src="<?php echo Yii::app()->theme->baseUrl ?>/js/script.js"></script>
</body>
</html>
